In this article, I will show you how to create favicon for website on the browser tab. The size of the site icon should be about 16x19 pixels and named as favicon.ico or something. It also called as shortcut icon,bookmark icon or webpage icon.If you are using a master page,It should be placed in the head section of the page like this,
<link rel="shortcut icon" href="http://www.infinetsoft.com/Images/infi.ico" type="image/x-icon" />
Description: Here, I am using mvc application, I have placed this at the layout.cshtml. My website is www.infinetsoft.com ,Notice the browser icon is displayed in the address bar. You can convert any other format image file to .ico format using this website https://www.icoconverter.com/.
Post your comments / questions
Recent Article
- How to create custom 404 error page in Django?
- Requested setting INSTALLED_APPS, but settings are not configured. You must either define..
- ValueError:All arrays must be of the same length - Python
- Check hostname requires server hostname - SOLVED
- How to restrict access to the page Access only for logged user in Django
- Migration admin.0001_initial is applied before its dependency admin.0001_initial on database default
- Add or change a related_name argument to the definition for 'auth.User.groups' or 'DriverUser.groups'. -Django ERROR
- Addition of two numbers in django python
Related Article